package com.zs.common.config;

/**
 * Created by zxw on 2017/7/5.
 */
public class ResponseCode {

    public final static int DATA_OK = 0;

    public final static String  DATA_SUCESS ="success";
    
    public final static String  DATA_FAIL ="fail";

    /**
     * 服务器内部错误
     * */
    public final static String SERVER_ERROR = "{\"code\":500, \"msg\" : \"server error\"}";


    /**
     * 数据未修改
     * */
    public final static String DATA_NO_UPDATE = "{\"code\":0, \"msg\" : \"数据未变动\"}";
    /**
     * 返回正常
     * */
    public final static String LOGIN_OK = "{\"code\":0, \"msg\" : \"登录成功\"}";
    /**
     * 返回失败
     * */
    public final static String LOGIN_FAIL = "{\"code\":-1, \"msg\" : \"登录失败\"}";
}
